package com.yuye.entity;

/**
 * 系统信息Entity
 *
 * @author yuye
 * @email yuyeweb@vip.qq.com
 * @date 2017-05-8 21:31
 */
public class SysInfoEntity{
    //操作系统名称
    private String osName;
    //操作系统构架
    private String osArch;
    //操作系统版本
    private String osVersion;
    //JDK 版本
    private String jdkVersion;
    //总内存
    private Long memory;
    //剩余内存
    private Long freeMemory;
    //已用内存
    private Long useMemory;
    //可用CPU线程数
    private Integer cpu;

    public String getOsName() {
        return osName;
    }

    public void setOsName(String osName) {
        this.osName = osName;
    }

    public String getOsArch() {
        return osArch;
    }

    public void setOsArch(String osArch) {
        this.osArch = osArch;
    }

    public String getOsVersion() {
        return osVersion;
    }

    public void setOsVersion(String osVersion) {
        this.osVersion = osVersion;
    }

    public String getJdkVersion() {
        return jdkVersion;
    }

    public void setJdkVersion(String jdkVersion) {
        this.jdkVersion = jdkVersion;
    }

    public Long getMemory() {
        return memory;
    }

    public void setMemory(Long memory) {
        this.memory = memory;
    }

    public Long getFreeMemory() {
        return freeMemory;
    }

    public void setFreeMemory(Long freeMemory) {
        this.freeMemory = freeMemory;
    }

    public Long getUseMemory() {
        return useMemory;
    }

    public void setUseMemory(Long useMemory) {
        this.useMemory = useMemory;
    }

    public Integer getCpu() {
        return cpu;
    }

    public void setCpu(Integer cpu) {
        this.cpu = cpu;
    }

    @Override
    public String toString() {
        return "SysInfoEntity{" +
                "osName='" + osName + '\'' +
                ", osArch='" + osArch + '\'' +
                ", osVersion='" + osVersion + '\'' +
                ", jdkVersion='" + jdkVersion + '\'' +
                ", memory=" + memory +
                ", freeMemory=" + freeMemory +
                ", useMemory=" + useMemory +
                ", cpu=" + cpu +
                '}';
    }
}
